| От | Eduardo Morras |
|---|---|
| Тема | Re: Vacuum as "easily obtained" locks |
| Дата | |
| Msg-id | 4D301C970267BC45@> (added by postmaster@resmaa12.ono.com) обсуждение исходный текст |
| Ответ на | Vacuum as "easily obtained" locks (Michael Graham <mgraham@bloxx.com>) |
| Список | pgsql-general |
At 19:32 03/08/2011, you wrote: >On 08/03/11 10:21 AM, Eduardo Morras wrote: >>One question, while you run your tests, does "IDLE IN TRANSACTION" >>messages happen? If you run your tests with a permanent connection >>to database, the tables are locked and autovacuum cannot work. > >its not that tables are locked, its that vacuum (auto or otherwise) >can't clear any tuples newer than the oldest active transaction. Yes, this is what happened to me 2-3 years ago. Table had only 1-3 rows but its size is 80-90 Gb. Once the app quits, autovacuum cleaned the table and became 8KB
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера